package com.supsi.segreteria.client;

import java.io.IOException;
import java.net.UnknownHostException;
import java.util.ArrayList;

/**
 * Created with IntelliJ IDEA.
 * User: fabio
 * Date: 11.05.12
 * Time: 16:20
 * To change this template use File | Settings | File Templates.
 */
public interface IConnection {
    public void connect() throws UnknownHostException, IOException;
    public void close();
    public void sendMessage(String message) throws IOException;
    public String getServerAck();
    public ArrayList<String> getMessages();
}
